package com.hwy.widget.widget

import android.text.Editable
import android.text.TextWatcher

/**
 * =======================================
 * 作者: hewenyu
 * 日期: 2022/3/10 23:23
 * 说明: [android.text.TextWatcher] 接口的空实现，防止匿名内部类有空函数实现
 * =======================================
 */
open class SimpleTextWatcher : TextWatcher {

    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {
        // do nothing
    }

    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {
        // do nothing
    }

    override fun afterTextChanged(s: Editable?) {
        // do nothing
    }

}